#pragma once
#include "SynfigFile.h"
#include "scene_fig.h"
ref class Scene
{
public:
	Scene(String^ path_p);
	bool SetInnerName(String^ inner);// variable in script
	bool SetOuterName(String^ outer);// trivial name
	bool RenameOuterName(String^ outer);// trivial name
	String^ GetInnerName(void);// variable in script
	String^ GetOuterName(void);// trivial name
	void SetMajorNumber(int num);
	int GetMajorNumber(void);
	void SetDescription(String^ str);
	String^ GetDescription(void);
	String^ GetPicName(void);
	void SetDuration(int dur);
	int GetDuration(void);
	bool isReady(void);
private:
	bool a,b,c,d,e;
	String^ innerName;// variable in script
	String^ outerName;// trivial name
	String^ description;
	array <SynfigFile^ > ^Files;
	bool valid(void);
	void CreateScene(void);
	//void CreateSF(int TYPE);
	bool CreateSF(int TYPE, String^ whereIt);
	int majorNumber;
	int numOfFiles;
	int Duration;
	String^ path_;
	
};
